package com.joysuch.wwyt.mh.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MonitorWebSocketDistrictAlarmData implements Serializable {

    @ApiModelProperty("区域id")
    private Long districtId;

    @ApiModelProperty("区域名称")
    private String districtName;

    @ApiModelProperty("报警信息id")
    private Long alarmMessageId;

    @ApiModelProperty("报警信息")
    private String alarmMessage;

    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmMessageTime;

    @ApiModelProperty("ALL 所有报警  ADD 产生报警  HANDLE 处理报警")
    private String flagType;

    private String orgCode;
    private Long tenentId;
}
